#include "List.h";


int main()
{
	LTNode* phead = LTCreate();
	LTPushBack(phead, 1);
	LTPushBack(phead, 2);
	LTPushBack(phead, 3);
	LTPushBack(phead, 4);
	LTPushBack(phead, 5);
	
	LTPrint(phead);

	LTNode* p = LTFind(phead, 5);
	/*if (p)
	{
		p->data *= 10;
	}*/
	LTErase(p);
	LTPrint(phead);
	
	//p = LTFind(phead, 5);
	//LTPrint(phead);

	//p = LTFind(phead, 3);
	//LTPrint(phead);


	return 0;
}